function setLangEn() {
	LoginService.setLangEn(function() {
		location.href.reload();
	});
}
function setLangCnS() {
	LoginService.setLangCnS(function() {
		location.href.reload();
	});
}

var dialogConfig = {modal:false,
		resizable:$.ui.effects.dialog.resizable,
		modal:true,
		show:$.ui.effects.dialog.show,
		hide:$.ui.effects.dialog.hide,
		width:660,
		height:300,
		buttons:[{
			"text":i18n.global.close,
			"click":function(){
				$(this).dialog("close");
			}
		}]};